<ion-view view-title="登录" hide-nav-bar="true" id="login">
    <ion-header-bar align-title="center" class="header_special">
        <div class="buttons">
            <i class="icon ion-chevron-left" style="padding:0 10px;color:#fff;" ui-sref="login"></i>
        </div>
        <h1 class="title" style="color:#fff;">注册</h1>
    </ion-header-bar>
    <ion-content  class="register" scroll="false" ng-class="{bgActive:focusStyleState}">
        <div class="login-form">
            <label class="item item-input background-transparent border-none">
                <i class="icon login_tel"></i>
                <input class="loginother" type="tel" placeholder="请输入手机号" ng-model="user.phone" ng-focus="focusStyle()" ng-blur="blurStyle()"/>
            </label>
            <div class="item item-input background-transparent border-none code" style="height: 40px;border: 0 ;border-bottom: 1px solid #d3d3d3;margin-bottom: 5px;">
                <i class="icon login_code"></i>
                <input  style="padding-left: 10px;line-height:40px;" type="number" placeholder="请输入验证码" maxlength="6" ng-model="user.code" class="fl" ng-focus="focusStyle()" ng-blur="blurStyle()"/>
                <button style="line-height:40px;" class="fr" id="send-msg" ng-click="sendMsg()">获取验证码</button>
            </div>
            <label class="item item-input background-transparent">
                <i class="icon login_pwd"></i>
                <input class="loginother"  type="password" placeholder="请输入密码" ng-model="user.password" ng-focus="focusStyle()" ng-blur="blurStyle()"/>
            </label>
            <label class="item item-input background-transparent">
                <i class="icon login_pwd"></i>
                <input class="loginother"  type="password" placeholder="请输入密码" ng-model="user.passwordTwo" ng-focus="focusStyle()" ng-blur="blurStyle()"/>
            </label>
            <div  class="main-btn" ng-click="register()">注册</div>
            <div  class="main-btn" ui-sref="login">登录帐号</div>
        </div>
    </ion-content>
</ion-view>